<!doctype html>
<title>MyApp</title>
<link rel=stylesheet type=text/css href="{{ url_for('static', filename='style.css') }}">
<div class=page>
  <h1>MyApp</h1>
  <div class=metanav>
    {% if not session.logged_in %}
    <a href="{{ url_for('login') }}">log in</a>
    {% else %}
    <a href="{{ url_for('logout') }}">log out</a>
    {% endif %}
  </div>
  {% for flash_msg in get_flashed_messages() %}
  <div class=flash>{{ flash_msg }}</div>
  {% endfor %}
  {% block body %}{% endblock %}
</div>
